package cn.dkk.create_design.factory.simpleFactory;

import cn.dkk.create_design.factory.pojo.parent.Coffee;

public class CoffeeStore {

    public static Coffee orderCoffee(String type){
        Coffee coffee = new SimpleCoffeeFactory().buildCoffee(type);
        coffee.addSugger();
        coffee.addMilk();
        return coffee;
    }

}
